<template>
	<view class="dibu">
		<image class="dibu-img" :src="content.sjImage" mode="widthFix"></image>
		<u-parse :content="content.articleData.content"></u-parse>
		<!-- <text class="dibu-text">做有情感的水果人
			开有温度的水果店</text> -->
	</view>
</template>

<script>
	import {
		apiBaseUrl
	} from '@/config/config.js'
	export default {
		name: "dibu",
		data() {
			return {
				apiBaseUrl,
				content:{},
			};
		},
		created() {
			
			this.$api.article_list_data({
				siteCode: 'main',
				categoryCode: 1005
			}, res => {
				if (res.code == 200) {
					this.content = res.data.list[0]
				}
			})
		}
	}
</script>

<style lang="scss">
	.dibu {
		background: #fff;
		border-radius: 100rpx;
		width: 70%;
		margin: auto;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 20rpx;
		padding-left: 0;

		.dibu-img {
			width: 180rpx;
			position: relative;
			margin-right: 20rpx;
			margin-top: -60rpx;
		}

		text {
			color: #00943a;
			font-size: 35rpx;
			font-weight: bold;
		}

	}
</style>